/*
 * @Author: 李琪 liqi@lark2game.com
 * @Date: 2025-04-15 20:46:03
 * @LastEditors: 李琪 liqi@lark2game.com
 * @LastEditTime: 2025-04-15 20:57:29
 * @FilePath: /cocosBehavior/assets/Script/BTBase/BTWork/Action/ActionLog.ts
 * @Description:打印日志行为
 */
import { BTNodeStatus } from "../../../BTEnum/BTIndex";
import BTAction from "../../BTAction";

export default class ActionLog extends BTAction {
    constructor(private msg: string) {
        super();
    }
    onUpdate(): BTNodeStatus {
        console.log(this.msg);
        return BTNodeStatus.SUCCESS;
    }

}